package com.dpteam.bean;

/**
 * Created with IntelliJ IDEA.
 * User: luolei
 * Date: 2016/1/8
 * Time: 18:21
 */
public class MemberInfo {

    /**
     *
     */
    private int id;
    /**
     *
     */
    private String name;
    /**
     *
     */
    private String phone;
    /**
     *
     */
    private int integral;
    /**
     *
     */
    private int allIntegral;
    /**
     *
     */
    private String IDCard;
    /**
     *
     */
    private int genderCode;
    /**
     *
     */
    private String genderNote;
    /**
     *
     */
    private String registtime;
    /**
     *
     */
    private int memberLevelId;
    /**
     *
     */
    private int levelCode;
    /**
     *
     */
    private String levelNote;

    /**
     *
     */
    private String createBy;

    public MemberInfo() {
    }

    public MemberInfo(int id, String name, String phone, int integral, int allIntegral, String IDCard, int genderCode, String genderNote, String registtime, int memberLevelId, int levelCode, String levelNote) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.integral = integral;
        this.allIntegral = allIntegral;
        this.IDCard = IDCard;
        this.genderCode = genderCode;
        this.genderNote = genderNote;
        this.registtime = registtime;
        this.memberLevelId = memberLevelId;
        this.levelCode = levelCode;
        this.levelNote = levelNote;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder("{");
        //String
        sb.append("'name':'").append(name).append("',");
        sb.append("'phone':'").append(phone).append("',");
        sb.append("'IDCard':'").append(IDCard).append("',");
        sb.append("'genderNote':'").append(genderNote).append("',");
        sb.append("'registtime':'").append(registtime).append("',");
        sb.append("'levelNote':'").append(levelNote).append("',");
        sb.append("'createBy':'").append(createBy).append("',");
        //int
        sb.append("'id':").append(id).append(",");
        sb.append("'integral':").append(integral).append(",");
        sb.append("'allIntegral':").append(allIntegral).append(",");
        sb.append("'genderCode':").append(genderCode).append(",");
        sb.append("'memberLevelId':").append(memberLevelId).append(",");
        sb.append("'levelCode':").append(levelCode).append("}");
        return sb.toString();
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }

    public int getAllIntegral() {
        return allIntegral;
    }

    public void setAllIntegral(int allIntegral) {
        this.allIntegral = allIntegral;
    }

    public String getIDCard() {
        return IDCard;
    }

    public void setIDCard(String IDCard) {
        this.IDCard = IDCard;
    }

    public int getGenderCode() {
        return genderCode;
    }

    public void setGenderCode(int genderCode) {
        this.genderCode = genderCode;
    }

    public String getGenderNote() {
        return genderNote;
    }

    public void setGenderNote(String genderNote) {
        this.genderNote = genderNote;
    }

    public String getRegisttime() {
        return registtime;
    }

    public void setRegisttime(String registtime) {
        this.registtime = registtime;
    }

    public int getLevelCode() {
        return levelCode;
    }

    public void setLevelCode(int levelCode) {
        this.levelCode = levelCode;
    }

    public String getLevelNote() {
        return levelNote;
    }

    public void setLevelNote(String levelNote) {
        this.levelNote = levelNote;
    }

    public int getMemberLevelId() {
        return memberLevelId;
    }

    public void setMemberLevelId(int memberLevelId) {
        this.memberLevelId = memberLevelId;
    }
}
